﻿using Microsoft.Extensions.DependencyInjection;
using System;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.Modularity;

namespace RH.Template
{

    [DependsOn(
    typeof(RHTemplateApplicationContractsModule)
    , typeof(AbpAspNetCoreMvcModule)
    )]
    public class RHTemplateWebApiModule: AbpModule
    {
        public override void PreConfigureServices(ServiceConfigurationContext context)
        {
            PreConfigure<IMvcBuilder>(mvcBuilder =>
            {
                mvcBuilder.AddApplicationPartIfNotExists(typeof(RHTemplateWebApiModule).Assembly);
            });
        }

        public override void ConfigureServices(ServiceConfigurationContext context)
        {
           
        }
    }
}
